package com.zhiyou100.video.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.zhiyou100.video.model.Course;
import com.zhiyou100.video.model.Subject;
import com.zhiyou100.video.utils.Page;

public interface CourseService {

	Page<Course> selectCourse(Integer currentpage);


	List<Subject> selectSubject();


	void addCourse(Course course);


	Course selectCourseId(Integer id);


	void deletecourse(Integer did);


	List<Object[]> selectVideo();


	List<Course> selectIndexVideo(DetachedCriteria dc);


	List<Subject> selectvideoindex(DetachedCriteria dc);


	void addViceoState(Integer videoId);


	

}
